package io.renren.modules.app.service;

import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.exception.RRException;
import io.renren.modules.app.entity.PayInfoEntity;
import io.renren.modules.app.request.BdcJfQueryRequest;
import io.renren.modules.app.request.JhdzQueryRequest;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.util.*;

/**
 * 系统信息
 *
 * @author Shark
 * @email shark@126.com
 * @date 2019-08-16 10:49:56
 */
public interface H5payService extends IService<PayInfoEntity> {

    /***
     * 1.1银行缴费查询接口
     * @param request
     * @return
     */
    Map bdcJfQuery(BdcJfQueryRequest request) throws RRException;


    /***
     *1.2银行缴费回调接口
     * @param request
     * @param response
     * @return
     */
    String notify(HttpServletRequest request, HttpServletResponse response) throws RRException;

    /***
     * 1.3查询聚合支付对账数据，并返回对账文件给分行
     * @param date
     * @return
     */
    boolean jhdzQuery(String date) throws RRException;

    /***
     * 轮询回调
     * @return
     * @throws RRException
     */
    void notifyQuery() throws RRException;

}

